package com.cloudkinto.service.template.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author zhangyy
 * @date 2020/10/26 14:53
 * @description:
 */
@Data
@ApiModel
public class ContainerTemplateAddReq implements Serializable {
    /**
     * 货柜名称
     */
    @ApiModelProperty("货柜名称")
    @NotBlank(message = "pls.input.container.name")
    private String containerName;

    /**
     * 货柜型号
     */
    @ApiModelProperty("货柜型号")
    @NotBlank(message = "pls.input.container.type")
    private String containerCode;

    /**
     * 体积
     */
    @ApiModelProperty("体积")
    @NotNull(message = "pls.input.product.volume")
    private Double volume;

    /**
     * 重量
     */
    @ApiModelProperty("重量")
    @NotNull(message = "pls.input.product.weight")
    private Double weight;

    @ApiModelProperty("长度")
    @NotNull(message = "pls.input.product.length")
    private Double length;

    @ApiModelProperty("宽度")
    @NotNull(message = "pls.input.product.width")
    private Double width;

    @ApiModelProperty("高度")
    @NotNull(message = "pls.input.product.height")
    private Double height;
}
